package com.dfrz.ch09;

/**
 * 作者：wangmaokang
 * 日期: 2021/4/19 21:06
 * 描述:
 */
public class Fish {
    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public static void main(String[] args) {

        Fish fish=new Fish();
        System.out.println(fish.getAge());
        System.out.println(fish.getName());

    }
}
